package net.lab1024.sa.admin.module.business.erp.mmo.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 生产订单与用户关系表 实体类
 *
 * @Author AKITA
 * @Date 2025-04-19 12:52:24
 * @Copyright AKITA
 */

@Data
@TableName("mmordb")
public class MmordbEntity {

    /**
     * 电键
     */
    @TableId
    private Long id;
    private Integer lineNum;
    private Long userId;
    private String lineStatus;
    private String userName;
    private Boolean approved;
    private String absId;
    private BigDecimal workTime;
    private BigDecimal overTime;
    private BigDecimal holiday;
    private BigDecimal costHour;
    private BigDecimal common;
    private String del;
    private LocalDate nowDate;
    private String week;
    private Boolean workDay;
    private Boolean absentee;

    private String freeTxt;

    @Version
    private Integer version;
    @TableField(exist = false)
    private BigDecimal workTimeTot;
    @TableField(exist = false)
    private BigDecimal overTimeTot;
    @TableField(exist = false)
    private BigDecimal commonTot;
    @TableField(exist = false)
    private BigDecimal holidayTot;

}
